package com.hm.one;

import org.springframework.stereotype.Component;

@Component
public class Water {
	
	private String brand;
	private String address;
	
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	
	public Water() {
		
	}
	public Water(String brand, String address) {
		this.brand = brand;
		this.address = address;
	}
	
	@Override
	public String toString() {
		return "Water [brand=" + brand + ", address=" + address + "]";
	}
	
	
}
